package com.dd.cloud.user.DTO.hosData;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;


/**
 * <p>
 *
 * </p>
 *
 * @author czg
 * @since 2022-07-19
 */
@Data
public class AuthReq {

    /**
     * 时间戳
     */
    @NotEmpty(message = "时间戳不能为空")
    @Length(max = 14,min = 14,message = "时间戳长度只能为14位")
    private String timeStamp;

    /**
     * 签名
     */
    @NotEmpty(message = "签名不能为空")
    private String sign;
}
